package com.wzh.ojcodesandbox.codesandbox.impl;

import cn.hutool.core.io.FileUtil;
import cn.hutool.core.io.resource.ResourceUtil;
import cn.hutool.core.util.StrUtil;
import cn.hutool.dfa.FoundWord;
import cn.hutool.dfa.WordTree;
import com.wzh.ojcodesandbox.codesandbox.CodeSandbox;
import com.wzh.ojcodesandbox.model.ExecuteCodeRequest;
import com.wzh.ojcodesandbox.model.ExecuteCodeResponse;
import com.wzh.ojcodesandbox.model.ExecuteMessage;
import com.wzh.ojcodesandbox.model.entity.JudgeInfo;
import com.wzh.ojcodesandbox.utils.ProcessUtils;

import java.io.File;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;

/**
 * @author wzh
 * 通过process类以控制控制台执行对应的编译运行语句来完成代码的运行
 */
public class JavaDockerCodeSandbox extends JavaCodeSandboxTemplate{

    @Override
    public ExecuteCodeResponse executeCode(ExecuteCodeRequest executeCodeRequest) {
        return super.executeCode(executeCodeRequest);
    }
}
